[Haskell-beginners] About ! before a type signature

Xiaojun "Phil" Hu phil at cnphil.com
Sat Jun 7 04:14:40 UTC 2014


I’m just curious, but is there any practical guide or tutorial on this topic? I found it relatively hard to reason about the time complexity of Haskell programs.

—  
Xiaojun "Phil (http://cnphil.com/)" Hu


On Friday, 6 June, 2014 at 21:05, Bob Ippolito wrote:

> 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 (mailto: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.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org (mailto:Beginners at haskell.org)
> http://www.haskell.org/mailman/listinfo/beginners
>  
>  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140607/21a537b3/attachment.html>


More information about the Beginners mailing list