Skip to content

Instantly share code, notes, and snippets.

@yoavlt
Created November 21, 2014 15:00
Show Gist options
  • Save yoavlt/7f5ded5fa157bde8de83 to your computer and use it in GitHub Desktop.
Save yoavlt/7f5ded5fa157bde8de83 to your computer and use it in GitHub Desktop.
#!/bin/sh
exec scala "$0" "$@"
!#
println((args(0).toInt to args(1).toInt).par.map(_ + 1).reduceLeft(_ + _))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment