Showing posts with label functional programming. Show all posts
Showing posts with label functional programming. Show all posts

Saturday, October 6, 2012

Factorization diagrams in Haskell

Here's an excellent post about factorization diagrams (arranging dots to represent the prime factorization of a number), implemented in Haskell.  It seems like this would be a great example for a mapping application.

Friday, October 5, 2012

Combining functional and imperative programming

Here's a nice post about a study!  Turns out functional programming isn't actually easier to use - in fact, this study showed that Scala's rigid type system made debugging harder.  The theory, of course, is that rigid typing should make debugging less necessary because many logical errors won't even compile.

The Scala programs were also smaller, but not by a whole lot.

The title, though, is misleading.  If I understand correctly, this isn't combining approaches so much as comparing them.  Decl should combine them.  Is there an Inline::Haskell?  (Answer: no. But there are some sorta-kinda things that look real Haskelly.)

Sunday, November 27, 2011

Functional programming

Nice intro to functional programming for OO-trained programmers. I found it useful.

Friday, July 1, 2011

Fexl: small functional programming language

Fexl. This guy even runs Fexl as an embedded interpreter in Perl. (Which is unfortunately not on CPAN.) Interesting stuff.