haskeline Questions
1
Solved
According to the haskeline documentation, typing CTRL+Y should pop the most recent entry from the kill-ring (e.g. the line I just deleted via CTRL+U). I'm finding that instead, it suspends the REPL...
2
Solved
I'm trying to implement an autocompletion function with Haskeline :
import System.Console.Haskeline
import System.Console.Haskeline.IO
import Data.List
mySettings :: Settings IO
mySettings = defa...
1
Solved
Given the proof of concept code below I'd like to be able to somehow perform my foo function with the ability to output the string Paul! and the possibility of getting its return value inside the I...
Alburga asked 20/1, 2015 at 19:22
1
Solved
Haskeline provides the functions outputStr and outputStrLn, which output to stdout, but is there a way to update text that's already been outputted? I'm thinking of, for example, when an installer ...
Caseose asked 5/9, 2012 at 0:15
1
Solved
Haskeline makes it very easy to get filename tab-completion functionality:
module Main where
import System.Console.Haskeline
import System.Environment
mySettings :: Settings IO
mySettings = defa...
Trajectory asked 27/5, 2011 at 2:23
0
What's the most practical way to write a program in Curry programming language that would have a console UI with decent line editing?
Actually, I need to pass a string as a suggestion for the user...
Fructiferous asked 20/4, 2011 at 22:2
2
Solved
I am using the Haskeline package and I want to get three strings in a row from the command line before I do anything and I have come up with what seems to be a neat solution to me. But I am sure th...
Logsdon asked 22/1, 2011 at 23:2
1
I use Ctrl p a lot instead of up arrow to go up on Terminal. How to make ghci support Ctrl p to go up?
I use ghci from ghc98 from port. Mac OS X 10.5.8.
1
© 2022 - 2024 — McMap. All rights reserved.