No worries, I'd rather have it twice than not at all :-)
Thank you all for the helpful tipps. We ended up knowing a lot more about
Haskell. The easiest solution however, was to compile it all into an
application - tadaa, deleting works as wished for.
Regards,
Torsten
Am 05.11.2009 um 02:00 sch
Oops, I clicked "reply" instead of "reply to all". Duplicating the
message below.
I suppose this means someone is going to get two copies of this. Sorry someone!
On Thu, Nov 5, 2009 at 12:56 AM, Ben Millwood wrote:
> On Wed, Nov 4, 2009 at 10:21 PM, Torsten Otto wrote:
>>
>> When we read the use
On Wed, Nov 4, 2009 at 3:14 PM, Jason Dagit wrote:
>
>
> On Wed, Nov 4, 2009 at 2:21 PM, Torsten Otto wrote:
>>
>> Hi!
>>
>> My students have the task to program an interactive chatbot. We have run
>> into a problem that I can't solve either:
>>
>> When we read the user's input through
>> > t <
On Wed, Nov 4, 2009 at 2:21 PM, Torsten Otto wrote:
> Hi!
>
> My students have the task to program an interactive chatbot. We have run
> into a problem that I can't solve either:
>
> When we read the user's input through
> > t <- getLine
> it is not possible to delete typos before hitting enter
On Wed, Nov 4, 2009 at 2:21 PM, Torsten Otto wrote:
> Hi!
>
> My students have the task to program an interactive chatbot. We have run
> into a problem that I can't solve either:
>
> When we read the user's input through
>> t <- getLine
> it is not possible to delete typos before hitting enter a
The library at
http://hackage.haskell.org/package/readline
might solve your problem.
Cheers,
Greg
On Nov 4, 2009, at 2:21 PM, Torsten Otto wrote:
Hi!
My students have the task to program an interactive chatbot. We have
run into a problem that I can't solve either:
When we read
Hi!
My students have the task to program an interactive chatbot. We have
run into a problem that I can't solve either:
When we read the user's input through
> t <- getLine
it is not possible to delete typos before hitting enter and thereby
sending the input off to the system (at least in