crash course in stream/monadic style haskell/scala/f# etc?

32 views
Skip to first unread message

Raoul Duke

unread,
Dec 20, 2012, 1:39:54 PM12/20/12
to ba...@googlegroups.com
something online recommended? like, how are things like LINQ done? i
find myself writing loops that are looking through what is a lame
database, and i want to e.g. early abort the loop as soon as it knows
it shouldn't bother going any further, but the C style break statement
isn't enough in these nested call stacks ;-)

Alex Boisvert

unread,
Dec 28, 2012, 1:26:48 PM12/28/12
to ba...@googlegroups.com
Iteratees, maybe?

The Play framework has an approachable tutorial + implementation:



--
You received this message because you are subscribed to "Bay Area Functional Programmers"
To unsubscribe from this group, send email to bayfp-un...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/bayfp?hl=en

John Alfred Nathanael Chee

unread,
Jan 2, 2013, 6:00:54 PM1/2/13
to ba...@googlegroups.com, rao...@gmail.com
The pipes [1] library in Haskell is exploring a solution to this problem. It is still in progress but I've found the documentation [2] very readable.

[1] http://hackage.haskell.org/package/pipes-3.0.0
[2] http://hackage.haskell.org/packages/archive/pipes/3.0.0/doc/html/Control-Proxy-Tutorial.html
--
Love in Jesus Christ, John Alfred Nathanael Chee
http://www.biblegateway.com/
http://web.cecs.pdx.edu/~chee/
Reply all
Reply to author
Forward
0 new messages