Personal tools

Talk:Blow your mind

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m
(List / String Operations: new section)
Line 5: Line 5:
   
 
i completely agree, the name pretty much sucks. but what i really wanted, was to compile a collection of "idioms" that would enlarge the readers perception of what is possible in Haskell and how to go about it. so, i'll have to find a name that reflects this plan. —--[[User:JohannesAhlmann|J. Ahlmann]] 14:13, 2 March 2006 (UTC)
 
i completely agree, the name pretty much sucks. but what i really wanted, was to compile a collection of "idioms" that would enlarge the readers perception of what is possible in Haskell and how to go about it. so, i'll have to find a name that reflects this plan. —--[[User:JohannesAhlmann|J. Ahlmann]] 14:13, 2 March 2006 (UTC)
  +
  +
== List / String Operations ==
  +
  +
Should this:
  +
  +
transpose . unfoldr (\a -> toMaybe (null a) (splitAt 2 a))
  +
  +
be this instead:
  +
  +
transpose . unfoldr (\a -> toMaybe (not $ null a) (splitAt 2 a))

Revision as of 19:15, 18 July 2012

1 Name?

Is there a better name for this page? —Ashley Y 00:55, 2 March 2006 (UTC)

i completely agree, the name pretty much sucks. but what i really wanted, was to compile a collection of "idioms" that would enlarge the readers perception of what is possible in Haskell and how to go about it. so, i'll have to find a name that reflects this plan. —--J. Ahlmann 14:13, 2 March 2006 (UTC)

2 List / String Operations

Should this:

transpose . unfoldr (\a -> toMaybe (null a) (splitAt 2 a))

be this instead:

transpose . unfoldr (\a -> toMaybe (not $ null a) (splitAt 2 a))