Quantcast
Channel: Haskell Lens Tutorial with traverse - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Cirdec for Haskell Lens Tutorial with traverse

view actually has a type that's less restrictive than Lens s t a b -> s -> a.If you drop the type signature, ghci will tell you the type for view:t viewview :: ((a1 -> Const a1 b1) -> t...

View Article


Haskell Lens Tutorial with traverse

I'm trying to follow this tutorial: http://blog.jakubarnold.cz/2014/08/06/lens-tutorial-stab-traversal-part-2.htmlI'm using the following code that I load into ghci:{-# LANGUAGE RankNTypes,...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>