(no subject)

Date: 2012-10-05 01:37 pm (UTC)
Я придумал только вот что:
Создавать класс типов:

class Oven a where
checkOven:: a -> Bool
......
А потом уже создавать типы, например:

data GasOven = GasOven {...}
instance Oven GasOven where
checkOven (GasOven {...}) = ....
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

December 2019

S M T W T F S
1234567
891011121314
15161718192021
222324252627 28
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags