it’s a time thing mostly. I could squeeze the arti...
# arrow
p
it’s a time thing mostly. I could squeeze the article in a couple of flights/train rides; a whole repo is another story for now
a
I hear you there. That's why I suggested one repo for all your posts, and all you need to do is add a new package for your blog post, make sure it works and push it to GH.
p
different version of Arrow too, so it’d be a new module
still, nothing too alien
a
oh, good point.
p
I’ll consider it, I still have time to do it for this article
a
All the things you are writing makes sense (thanks to working with Haskell), but it takes hours for me to make the app working.
j
Is there something comparable to literate haskell for kotlin? That would make running code from blogs way easier...
p
where code is only in comments?
not that I’m aware
Copy code
fun literateKotlinCompiler(src: String) =
  src.split("\n")
    .map(::trimWhitespace)
    .filter { it.startsWith("> ") }
    .map { it.drop(2) }
    .joinToString("\n")
    .let(::invokeKotlinC)
🧌
j
You know: that + using one compiler session in the script engine would probably even work for 90% of code 😆 Ank is not all too different from that 😅
p
ye, ye, working on infra we have a bunch of snippets like this one
no shame