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

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