943,670 Members | Top Members by Rank

Ad:
Mar 1st, 2008
0

Miranda

Expand Post »
Hi, has anybody here experience miranda before? I need help with algebraic types and type synonym?

Thanks
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nov_bbt is offline Offline
7 posts
since Dec 2007
Mar 1st, 2008
0

Re: Miranda

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.
Featured Poster
Reputation Points: 1140
Solved Threads: 229
Postaholic
Duoas is offline Offline
2,039 posts
since Oct 2007
Mar 2nd, 2008
0

Re: Miranda

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nov_bbt is offline Offline
7 posts
since Dec 2007
Mar 4th, 2008
0

Re: Miranda

Any one please?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nov_bbt is offline Offline
7 posts
since Dec 2007
Mar 14th, 2008
0

Re: Miranda

What types they should be? What is they?
Reputation Points: 98
Solved Threads: 22
Posting Whiz in Training
sarehu is offline Offline
269 posts
since Oct 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Legacy and Other Languages Forum Timeline: QBasic Source code
Next Thread in Legacy and Other Languages Forum Timeline: Prog and Logic Question for beginner





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC