alt.hn

7/2/2026 at 11:12:12 AM

Functional Programming in hica

https://www.hica.dev/docs/functional-programming/

by cladamski79

7/5/2026 at 12:56:47 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!

by blanched

7/5/2026 at 5:35:33 PM

I took a look and added -webkit-text-size-adjust to please Safari, hope it helps. And thanks!

by cladamski79

7/5/2026 at 2:16:48 PM

Same here. Needs one of those "standard" html headers, I think.

by tgv

7/5/2026 at 3:50:30 PM

Hm, I checked the site and it does have one of these:

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
Which is the standard. I wonder if something else is interfering with it.

by lioeters

7/2/2026 at 11:12: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.

by cladamski79

7/5/2026 at 4:24:59 PM

Any concurrency / parallelism?

by smw

7/5/2026 at 5:12:36 PM

[dead]

by cladamski79

7/5/2026 at 12:59:38 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?

by nyankosensei

7/5/2026 at 5:18:44 PM

I created a backronym of a longwinded name and I pronounce it as hi-ca, or perhaps hee-ca :)

Shen is very interesting, I actually created a lisp in hica as a learning exercise, check it out at https://github.com/cladam/hica-lisp

by cladamski79

7/5/2026 at 2:05:16 PM

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

by mogoh

7/5/2026 at 5:21:00 PM

That's roughly the positioning, yes. Approachable syntax, low ceremony, runs scripts directly. The difference is that the safety guarantees (no null, tracked effects, exhaustive matching) come for free rather than being opt-in via type checkers.

I did a comparison to python which shows the differences, and where they are similar: https://www.hica.dev/docs/hica-vs-python/

by cladamski79

7/5/2026 at 5:09:41 PM

Looks very tasteful! Good job!

by xixixao

7/5/2026 at 1:57:16 PM

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

by esafak

7/5/2026 at 5:22:26 PM

[dead]

by cladamski79

7/5/2026 at 12:33:54 PM

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

by jdw64