Next: , Previous: , Up: Using Guile Interactively   [Contents][Index]


4.4.2 Readline

To make it easier for you to repeat and vary previously entered expressions, or to edit the expression that you’re typing in, Guile can use the GNU Readline library. This is not enabled by default because of licensing reasons, but all you need to activate Readline is the following pair of lines.

[email protected](guile-user)> (use-modules (ice-9 readline))
[email protected](guile-user)> (activate-readline)

It’s a good idea to put these two lines (without the [email protected](guile-user)> prompts) in your .guile file. See Init File, for more on .guile.