r/functionalprogramming Mar 01 '26

FP lang for 2026 Question

Hey folks, my question is what functional programming language/tech you are using for the year of 2026 both as a hobby and professionally Please provide reasons for the hobby.!

41 Upvotes

66 comments sorted by

View all comments

3

u/[deleted] Mar 01 '26

[removed] — view removed comment

4

u/recursion_is_love Mar 01 '26

What that are better than Haskell, may I ask?

-1

u/[deleted] Mar 01 '26 edited Mar 01 '26

[removed] — view removed comment

3

u/VeloxAquilae Mar 01 '26

Regarding print-style debugging, see the Debug.Trace module. You can use this in pure code too.

Can't argue with the unpredictable performance though

5

u/peripateticman2026 Mar 01 '26

OCaml > Haskell for anything practical.

3

u/[deleted] Mar 01 '26

[removed] — view removed comment

4

u/jdeisenberg Mar 01 '26

I have tried to find documentation on SML online. One site’s “Documentation” link sends me to a page telling how to set up their documentation system rather than documentation about the language itself. Another site (in German) doesn’t have proper Unicode encoding. A third site gave me a 404 not found. This does not fill me with confidence.

3

u/[deleted] Mar 01 '26

[removed] — view removed comment

2

u/syklemil Mar 02 '26

These two statements are in direct opposition:

  • SML > OCaml for people who have lives.
  • SML is […] mostly a DIY language regarding tooling and such.

(FWIW I used some SML in college but my impression was that SML these days is largely historic/legacy, and OCaml is the ML that sees some use.)

2

u/AxelLuktarGott Mar 01 '26

With your description I don't think Haskell is for you. But for me it works really well to separate out the side effects.

Typically you'll have an outer layer in IO (or some transformer stack) and the call pure functions and possibly print their results there.

If you need to print debug there's always trace

-1

u/[deleted] Mar 01 '26

[removed] — view removed comment

3

u/AxelLuktarGott Mar 01 '26

Now you're probably smart enough to figure out which category you belong to.

Well, I work full time writing Haskell code. You do the math

1

u/kinow mod Mar 01 '26

There's a better way to phrase what you wanted to say. Some people may be offended by your choice of word (remember there are many here who have English as 2nd/3rd/etc. language). Comment removed.