Hi,
I've come across this sort of data constructor below many times but I'm
not really sure how to use it. Can someone please point me to the right
section in the documentation?
In particular, I want to know how to create a calendar time and how to
access the fields .
Tom
data CalendarTime = CalendarTime {
ctYear :: Int,
ctMonth :: Month,
ctDay, ctHour, ctMin, ctSec :: Int,
ctPicosec :: Integer,
ctWDay :: Day,
ctYDay :: Int,
ctTZName :: String,
ctTZ :: Int,
ctIsDST :: Bool
} deriving (Eq, Ord, Read, Show)
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe
- Re: (no subject) Shlomi Fish
- (no subject) Manjula Iyer
- (no subject) Nuno Carvalho
- (no subject) Ciaran Dunn
- (no subject) uma kompella
- Re: (no subject) David Feuer
- Re: (no subject) Ashley Yakeley
- Re: (no subject) Eray Ozkural (exa)
- (no subject) Noriyuki Sugita
- (no subject) Phil Haymen
- Re: (no subject) Tom Bevan
- Re: (no subject) Hal Daume III
- Re: (no subject) Ashley Yakeley
- (no subject) 정종길
- Re: (no subject) Alastair David Reid
- (no subject) nulkinulki
- (no subject) Ricky Kurniawan
- (no subject) Andy Fugard
- (no subject) xoo
- (no subject) Scott J.
- Re: (no subject) Nick Name
