[Haskell-cafe] develop new Haskell shell?
Marc Weber
marco-oweber at gmx.de
Sat May 13 06:20:38 EDT 2006
We haven't talked about bash features like
!:1 !:$ yet
!:1 means first argument of last commands, !:$ means last argument of
last command
Some kind of completion could also be achieved by using this
completion:: IO (a) -- a in this case Filename
liftM cat completion
where is a function (or another program) with it's own interface...
beeing executated after pressing enter..
A haskell shell would be nice because you could also do something like
this (in the manner of formIntegral) :
dvd <- (fromVideo viedo.mov))::MyDVD
butn dvd >> mkiso dvd
;) Wow!!!
You would be able to assemble common task in a new, type-safe fashion.
fromVideo of cause would itself call something like mplayer or
transcode.
Marc Weber
More information about the Haskell-Cafe
mailing list