Live coding is great fun
hughrawlinson.me> In fact, in haskell, everything is a function. There aren't any variables in haskell, but you can declare a function that takes no arguments and returns only one result
This is a common myth [1].
[1]: http://conal.net/blog/posts/everything-is-a-function-in-hask...
Ok, what I meant by that was that everything that is 'defined' and 'solidified' (I don't think I know the right word to describe it) is a function in that you can't define variables of type, they're all something that a function returns, and have a more etherial quality. Yeah, I really don't have the words for what I think I'm trying to say, and I don't actually know that either, I'm just going by what people have told me and what I have read of haskell. I'm by no means even familiar with haskell at this stage, so whatever I say about haskell is conjecture from the perspective of a novice in an attempt to describe things to the extent that other novices can have a quick entry path to live-coding (which is the aim here rather than into FP/haskell)
Really, that myth is common? If so it explains why people seem to be afraid of Haskell: they think it has no numbers, characters, strings, lists, arrays, etc.
Someone who believes the myth and is aware of Church encodings probably thinks everything is Church encoded in Haskell. Someone who believes the myth and is not aware of Church encodings will likely have no mental image to associate to Haskell, and feel it is truly alien.
It may be wrong, but is it, perhaps, a harmless and useful way to understand Haskell?
(I have a friend who always tries to show me examples of neat stuff he's done in Haskell and I can never wrap my brain about it)
It's not useful at all, it makes Haskell sound bizarre. Haskell is much more of an ordinary programming language than this would suggest: like ordinary languages it has functions but also numbers, strings, list, arrays, etc.
When discussing technical matters, anything that isn't technically correct should be accompanied by a disclaimer.
I usually like to say "just about", "informally" or "while there are some exceptions, it can be helpful to think about it as if..."
I'm just starting to get into this, and yes, it is a ton of fun. I started out using Tidal, now I'm moving onto Overtone (a Clojure library for making music) because it's more about synths and scales than Tidal, which is more about loops and samples.
Both of them are great though. Whichever you get into just depends on what you want to do. Overtone integrates with midi really well too.
I've also done a very little bit of overtone. It's going in the blog when I get back to it after I've done some more Tidal.
How did you learn Overtone? I've used Emacs a bit but never Clojure. How would you recommend getting started?
I just read through the Overtone docs on Github. I've been using Light Table for my IDE. I'm still faster with that than I am with emacs.
Edit: If you just want to basics, this should work for you: http://seabre.github.io/blog/2013/08/31/a-simple-livecoding-...
I've been very keen on getting into Overtone for some time now, what kinds of stuff are you doing with it?
Nothing much yet. Still learning how to do what I want.