Module

Data.Posix.Signal

#toString

toString :: Signal -> String

Convert a Signal to a String. Suitable for Node.js APIs.

#fromString

fromString :: String -> Maybe Signal

Try to parse a Signal from a String. Suitable for use with Node.js APIs. This function is a partial inverse of toString; in code, that means, for all sig :: Signal:

fromString (toString sig) == Just sig

Modules