[Haskell-beginners] About ! before a type signature

Bob Ippolito bob at redivi.com
Fri Jun 6 13:05:42 UTC 2014


That declares those fields to be strict. See also
http://www.haskell.org/haskellwiki/Performance/Data_types

On Friday, June 6, 2014, Song Zhang <vxanica at gmail.com> wrote:

> This is about syntax of Haskell.
> I am reading the source code of Yampa. I find that a definition like the
> following
>
> data SF' a b where
>     SFArr   :: !(DTime -> a -> Transition a b) -> !(FunDesc a b) -> SF' a b
>
>
> in Yampa.hs.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140606/89745e72/attachment.html>


More information about the Beginners mailing list