god functional programming still hurts my poor little meow meow brain so much

@f0x
> message.split` `.filter(x=>x=="meow").length + " meows"
'2 meows'

@ckie that reads fine, it's moreso the fact that Nix' calling syntax and stdlib are still very unfamiliar to me

@f0x oh, yes, nix took me a while to get used to

Follow

@f0x what are you doing w/ it?

· · Web · 1 · 0 · 1

@ckie writing a function that takes nested sets of settings, and converts it into a single set of environment variables
so {foo: {bar = true}}
becomes FOO_BAR = true

but it'll be a neat learning exercise i hope, so no spoilers!

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.