/dpt/ - Daily Programming Thread

What are you working on, Jow Forums? Previous thread:

Attached: 1536342633077.jpg (550x440, 38K)

Other urls found in this thread:

gcc.gnu.org/bugs/#nonbugs_c
twitter.com/AnonBabble

>you can't reason about procedural code
Most stupid thing I've read today. Ever heard of Hoare logic kiddo?

exploring the deepest, darkest depths of C++.

Attached: g.gif (220x159, 1.95M)

dumb frogposter

I'm working on a little Haskell program.
Can I get rid of the `pure ()` line? I couldn't find a function with the signature `IO a -> IO ()`.
runParseDocumentTest :: Maybe Feed -> FilePath -> IO ()
runParseDocumentTest feed path = do
_

Employed Haskell programmer reporting in

Attached: 1463364999713.jpg (268x237, 59K)

Employed OCaml programmer reporting in

Nice to see a fp colleague.

Is it technically possible to change the value of the members of an array without the help of an extra variable?
And I don't mean memory address trickery or an expression specific to a language (that still uses an extra variable under the hood)

eww