Module Curry.Span

Summary of exported operations:

start :: Span -> Position   
end :: Span -> Position   
isSpan :: Span -> Bool   
isNoSpan :: Span -> Bool   
fromPosition :: Position -> Span   
stripStart :: Span -> Span   
vertDist :: Span -> Span -> Int   
isAfter :: Span -> Span -> Bool   
isBefore :: Span -> Span -> Bool   
isBeforeList :: Span -> [Span] -> Bool   
span2Pos :: Span -> Position   
combineSpans :: Span -> Span -> Span   
addSpan :: Span -> (a,[Span]) -> (a,[Span])   
spanLength :: Span -> (Int,Int)   

Exported datatypes:


Span

Constructors:


Exported operations:

start :: Span -> Position   

Further infos:
  • solution complete, i.e., able to compute all solutions

end :: Span -> Position   

Further infos:
  • solution complete, i.e., able to compute all solutions

isSpan :: Span -> Bool   

Further infos:
  • solution complete, i.e., able to compute all solutions

isNoSpan :: Span -> Bool   

Further infos:
  • solution complete, i.e., able to compute all solutions

fromPosition :: Position -> Span   

Further infos:
  • solution complete, i.e., able to compute all solutions

stripStart :: Span -> Span   

vertDist :: Span -> Span -> Int   

isAfter :: Span -> Span -> Bool   

isBefore :: Span -> Span -> Bool   

isBeforeList :: Span -> [Span] -> Bool   

span2Pos :: Span -> Position   

Further infos:
  • solution complete, i.e., able to compute all solutions

combineSpans :: Span -> Span -> Span   

Further infos:
  • solution complete, i.e., able to compute all solutions

addSpan :: Span -> (a,[Span]) -> (a,[Span])   

Further infos:
  • solution complete, i.e., able to compute all solutions

spanLength :: Span -> (Int,Int)