[Haskell-cafe] How can I use ghci more wisely?
yi lu
zhiwudazhanjiangshi at gmail.com
Wed Jul 24 04:30:56 CEST 2013
I am wondering how can I ask ghci to show an infinite list wisely.
When I type
*fst ([1..],[1..10])*
The result is what as you may guess
*1,2,3,4,...*(continues to show, cut now)
How could I may ghci show
*[1..]*
this wise way not the long long long list itself?
Yi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130724/1bf7216d/attachment.htm>
More information about the Haskell-Cafe
mailing list