[Haskell-beginners] find problem

Roelof Wobben rwobben at hotmail.com
Fri Jul 22 21:14:53 CEST 2011


Hello, 

Sorry for asking so much but I really want to understand this.

I have the function find  k t [v, (k',v') <- t,k = v]

Let's say k = false and t = [false, true, false, true]

Then It will be  find  "false" ["false", "true", "false", "true]
But where on earth are t,k = v and (k', v') come from ?

Roelof
 


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110722/a6c7d4d3/attachment.htm>


More information about the Beginners mailing list