CurryInfo: verify-non-fail-2.0.0 / Verify.Helpers.readQC

definition: Info
 
readQC :: String -> QName
readQC = readMQC []
 where
  readMQC ms s = let (s1,s2) = break (=='.') s
                 in case s2 of
                      ""  -> (toMod ms, s1) -- literal
                      [_] -> (toMod ms, "")
                      _:c:cs -> if isAlpha c && '.' `elem` cs
                                  then readMQC (ms ++ [s1]) (c:cs)
                                  else (toMod (ms ++ [s1]), c:cs)

  toMod = intercalate "."
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
Reads a (possibly) qualified constructor string.
failfree: Info
 ()
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {() |-> {readQC.readMQC.59}}
name: Info
 readQC
precedence: Info
 no precedence defined
result-values: Info
 {readQC.readMQC.59}
signature: Info
 String -> (String, String)
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term