To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit cbad728e authored by nathyong's avatar nathyong
Browse files

Use Sequence for the Bundle

parent e78c6342
......@@ -17,6 +17,8 @@
module Mu.AST where
import Data.Sequence (Seq)
import Data.Monoid ((<>))
import Data.Binary (Binary)
import Data.ByteString.Char8 (ByteString)
import Data.String (IsString)
......@@ -99,7 +101,7 @@ versionedName fn (Version vn) = FunctionVerName $ Name $ nameOf fn <> "." <> vn
-- See <https://gitlab.anu.edu.au/mu/mu-spec/blob/master/ir.rst>
-- | A representation of Mu Bundles.
newtype Bundle = Bundle { unBundle :: [Definition] }
newtype Bundle = Bundle { unBundle :: Seq Definition }
deriving (Monoid, Generic)
instance Binary Bundle
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment