packages feed

tilia-0.2.0.0: corpora/vendored/expression/bracket/unboxed-sums-of-compound-alternatives-out.hs

{-# LANGUAGE UnboxedSums #-}

module Lexer.Span where

located :: Int -> Int -> (# (Int, Int) | () #)
located from to = (# (from, to) | #)

shifted :: Int -> (# Int | [Int] #)
shifted n = (# | [n, n + 1] #)