Tag Archives: map

(Haskell) Simultaneous filter and map

The `filtermap` functional below allows to perform the standard `map` and `filter` operations in one go. The mapping function has to return a `Maybe` clonidine substitute. monad, and values of `Nothing` are filtered out.

Posted in Haskell | Also tagged , , , , | Leave a comment

(JavaScript) Google Maps API v3 made simple

This is a simple example of the google maps javascript API v3. If you want a map with a marker this is the minimum you need to do to get it done. Theres more talk about how it’s all set up, and how to use the other static image map as well at the link. [...]

Posted in JavaScript | Also tagged , , , , , , , | Leave a comment