File: repl

package info (click to toggle)
dh-haskell 0.6.6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 76 kB
  • sloc: perl: 141; sh: 27; makefile: 3
file content (14 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use Devel::REPL;
my $repl = Devel::REPL->new;
my $bar = 2;
for my $plugin (qw/ReadLineHistory LexEnv Colors Completion Colors Packages FindVariable/) {
    $repl->load_plugin($plugin);
}

for my $driver (qw/Globals Keywords LexEnv Methods/) {
    $repl->load_plugin("CompletionDriver::$driver");
}

$repl->eval('use Debian::Debhelper::Buildsystem::haskell;');
$repl->run