Sunday, August 18, 2013

Scripting, meh

Today we discussed what we should do next. I suggested we should create a script, and explained that a script is a file and it's also a program and you can run it. You can put any of the commands we've used so far into the script file and run them all at once.

But she didn't want to have a lesson today. A bit disappointing that, I think it's best not to push this. So, we'll have the next lesson tomorrow.

Oh and yesterday I made some helpers to make Haskell programming easier, so that you can make ridiculously easy programs like

    say "what's your name" >> i >>= say . ("hello, " ++)

In the picture below, I'm sure you can guess which one of the girls uses vim.

No comments:

Post a Comment