>
>
> So then it's not a bug. The instance is defined in
> Data.Time.Format.Parse, and Data.Time.Calendar doesn't import that
> module.
>
> This, however is a bug, I think:
>
> Prelude> import Data.Time
> Prelude Data.Time> read "2011-10-10" :: Day
>
> ... no instance for (Read Day) ...
>
> Prelude> :m +Data.Time
> Prelude Data.Time> read "2011-10-10" :: Day
> 2011-10-10
>
>
> Erik
>

Thanks Erik.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to