Thread Solved

Join Date: Dec 2007
Posts: 7
Reputation: nov_bbt is an unknown quantity at this point 
Solved Threads: 0
nov_bbt nov_bbt is offline Offline
Newbie Poster

Miranda

 
0
  #1
Mar 1st, 2008
Hi, has anybody here experience miranda before? I need help with algebraic types and type synonym?

Thanks
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 1,951
Reputation: Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of Duoas has much to be proud of 
Solved Threads: 214
Featured Poster
Duoas's Avatar
Duoas Duoas is offline Offline
Posting Virtuoso

Re: Miranda

 
0
  #2
Mar 1st, 2008
Miranda has a lot of similarities to Haskell. I can't say for sure that I can help you, but post your question and we'll see.

Even if I can't, there are a lot of knowledgeable Haskell folks here that probably can.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 7
Reputation: nov_bbt is an unknown quantity at this point 
Solved Threads: 0
nov_bbt nov_bbt is offline Offline
Newbie Poster

Re: Miranda

 
0
  #3
Mar 2nd, 2008
Hi, thanks for the reply. I need to do create an alegbraic type to show the suits in a card and use this type in a type synonym to like show a specific card like ' 9 of spades '

I think the first bit i can do

cardsuit ::= Hearts | Diamonds | Spades | Clubs

but i dont know what types they should be or the type synonym? any ideas? I think i should be using enumerated types?

Thanls
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 7
Reputation: nov_bbt is an unknown quantity at this point 
Solved Threads: 0
nov_bbt nov_bbt is offline Offline
Newbie Poster

Re: Miranda

 
0
  #4
Mar 4th, 2008
Any one please?
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 269
Reputation: sarehu is on a distinguished road 
Solved Threads: 22
sarehu's Avatar
sarehu sarehu is offline Offline
Posting Whiz in Training

Re: Miranda

 
0
  #5
Mar 14th, 2008
What types they should be? What is they?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Legacy and Other Languages Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC