1 - I presume that's scala 2 - Good on them for returning a Maybe 3 - Why isn't the 's' in a context of some sort? f s? [s] ?
-
-
It's pure Haskell. There is no useful way to write that in Scala.
1 reply 0 retweets 0 likes -
Oh come on, you can do that in C++ without even reaching for macros.
1 reply 0 retweets 0 likes -
Good luck (you will fail).
1 reply 0 retweets 1 like -
Maybe in Scala and C++ -- sure. Lens.... well...
1 reply 0 retweets 0 likes -
You won't achieve the usefulness of lens in Scala and C++. The absence of lens directly implies that you may as well stay in bed.
1 reply 0 retweets 0 likes -
I'll admit that I haven't gotten even remotely proficient with optics in Haskell, yet. Still learning.
1 reply 0 retweets 0 likes -
Replying to @TheWizardTower @dibblego and
Have merely learned enough that I feel nauseated when dealing with languages like Go or PHP.
1 reply 0 retweets 0 likes -
Don't handwrite Go or PHP. They are compile targets. Write the compiler. No more nausea.
1 reply 0 retweets 0 likes -
I suspect that's a bigger undertaking that just getting another job at a Haskell shop.
1 reply 0 retweets 0 likes
Maybe, but it's a strictly smaller job than handwriting Go or PHP, and all the consequences that follow.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.