r/functionalprogramming • u/newgoliath • Oct 10 '24
Question FP language for Unix Scripting?
I'm a Linux admin who wants to get into FP. Any languages out there that are strict FP (single assignment, etc) that will let me easily move around files, start and stop processes, shell out, etc.?
30
Upvotes
View all comments
Show parent comment
3
u/ratherforky Oct 12 '24
+1 on nushell. I'm a haskell gal and it's a very natural style of scripting to me. it's super easy to make scripts with flags, (optional) parameters etc. and it generates documentation automatically for your scripts, along with type information etc. very, very happy with it and I use it as my primary shell (though not my login shell, since it's not stable atm and breaking changes are common)