Params
Module
signature PARAMS
structure Params
:> PARAMS
This module contains functions for querying and setting Forlan parameters.
val getSearchPath : unit -> string list
val setSearchPath : string list -> unit
val getWorkingDirectory : unit -> string
val setWorkingDirectory : string -> unit
val getPrintingListLength : unit -> int
val setPrintingListLength : int -> unit
val getPrintingStringSize : unit -> int
val setPrintingStringSize : int -> unit
val getPrintingDataStructureDepth : unit -> int
val setPrintingDataStructureDepth : int -> unit
val getPrintingLineLength : unit -> int
val setPrintingLineLength : int -> unit
val setPrintingOfGarbageCollectionMessages : bool -> unit
val getTrackExceptions : unit -> bool
val setTrackExceptions : bool -> unit
val getCompilationManagerVerbosity : unit -> bool
val setCompilationManagerVerbosity : bool -> unit
val getBindNonExhaustiveWarn : unit -> bool
val setBindNonExhaustiveWarn : bool -> unit
getSearchPath()
Use
.use
and the various Forlan input
functions for loading SML/Forlan files. The default is nil
.
setSearchPath xs
Use
.use
and the various Forlan input
functions to xs
. Non-absolute paths are made absolute by prepending the current working directory.
getWorkingDirectory()
setWorkingDirectory dir
dir
. Raises an exception if this directory doesn't exist or isn't accessible.
getPrintingListLength()
250
.
setPrintingListLength n
n
.
getPrintingStringSize()
250
.
setPrintingStringSize n
n
.
getPrintingDataStructureDepth()
20
.
setPrintingDataStructureDepth n
n
.
getPrintingLineLength()
80
.
setPrintingLineLength n
n
.
setPrintingOfGarbageCollectionMessages b
getTrackExceptions()
setTrackExceptions b
getCompilationManagerVerbosity()
setCompilationManagerVerbosity b
getBindNonExhaustiveWarn()
setBindNonExhaustiveWarn b
Forlan Version 4.15
Copyright © 2022 Alley Stoughton