definition:
|
stringOrNothing :: SQLValue -> (Maybe String)
stringOrNothing SQLNull = Nothing
stringOrNothing (SQLString a) = Just a
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
failfree:
|
{SQLNull,SQLString}
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({SQLNull}) |-> {Nothing} || ({SQLString}) |-> {Just}}
|
name:
|
stringOrNothing
|
precedence:
|
no precedence defined
|
result-values:
|
{Just,Nothing}
|
signature:
|
Database.CDBI.Connection.SQLValue -> Prelude.Maybe String
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
yes
|
totally-defined:
|
possibly non-reducible on same data term
|