Add Andy Gill's Monad library into the build.
[ # where to slurp interface files from
( $INSTALLING
? "$InstLibDirGhc/imports/lang"
[ # where to slurp interface files from
( $INSTALLING
? "$InstLibDirGhc/imports/lang"
- : "$TopPwd/hslibs/lang"
+ : "$TopPwd/hslibs/lang:$TopPwd/hslibs/lang/monads"
)
, # where to find the archive to use when linking
( $INSTALLING
)
, # where to find the archive to use when linking
( $INSTALLING
+ if ( $lib eq 'lang' && ! $INSTALLING ) {
+ push(@Import_dirs, "${TopPwd}/hslibs/${lib}/monads");
+ }
if ( $lib eq 'text' && ! $INSTALLING ) {
push(@Import_dirs, "${TopPwd}/hslibs/${lib}/html");
}
if ( $lib eq 'text' && ! $INSTALLING ) {
push(@Import_dirs, "${TopPwd}/hslibs/${lib}/html");
}