packages feed

Agda-2.3.2.2: test/succeed/Comments.agda

module Comments where

{- Single-line comments cannot be started inside multi-line ones:

-- -} postulate
        foo-- : Set -- Note that -- does not start a comment when
                    -- located inside or at the end of an identifier.

-- The following comment marker is followed by an alphabetic
-- character:

--This is a {- non-nested comment.
{-This is a comment.-}

{-
-- The final comment marker {- is followed by -} the end of the file
-- without any intervening newline.
-}

--