logoalt Hacker News

Functional Programming in hica

41 pointsby cladamski79last Thursday at 11:12 AM15 commentsview on HN

Comments

blanchedtoday at 12:56 PM

Quick fyi that your website is “zoomed in” on mobile safari and a little difficult to use

(Apologies if it’s just my device)

I’ll take a closer look on my desktop later today, I love seeing new programming languages. Sounds interesting!

show 1 reply
cladamski79last Thursday at 11:12 AM

hica is a functional, expression-based programming language, everything is an expression and immutable by default. Its goal is to make programming very approachable for beginners (and veterans alike). You learn by doing small programs, then dive deeper on a thing you really want to build.

This is a guide on functional programming which covers immutability, higher-order functions, pipelines, and more, all with runnable examples.

If that is to theoretical there is https://www.hica.dev/docs/hica-for-beginners/ that walks through functions, pattern matching, and lists by building real programs.

Happy to answer questions about the design decisions, the implementation or how to get started.

show 2 replies
xixixaotoday at 5:09 PM

Looks very tasteful! Good job!

nyankosenseitoday at 12:59 PM

Thanks for sharing. Very interesting, especially since it’s based on Koka, which I’ve been experimenting with and still trying to wrap my head around. It also reminds me a lot of Shen (https://shenlanguage.org/). I’ll definitely try this out.

How do you pronounce the name?

mogohtoday at 2:05 PM

Does this aims to be the python of functional programming languages?

esafaktoday at 1:57 PM

Looks good. If it is not too early to ask, how fast are compile times and executables, and informative are the error messages?

show 1 reply
jdw64today at 12:33 PM

It feels like C#, so it seems easy to learn. Looks fun.