This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test | |
%default total | |
data Box : Type -> Type where | |
MkBox : t -> Box t | |
data Test : Type where | |
T1 : Test | |
T2 : Box Test -> Test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test | |
record Ann where | |
constructor MkAnn | |
ann1 : Type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Test | |
import Text.Lexer | |
import Text.Parser | |
data Token : Type where | |
AddOp : Token | |
MulOp : Token | |
IntConst : Token |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Danac.Parser | |
import Danac.Lexer | |
import Text.Lexer | |
import Text.Parser | |
data SParser : Type -> Type -> Bool -> Type -> Type where | |
MkSParser : (s -> Grammar t c (a, s)) -> SParser s t c a | |
Functor (SParser s t b) where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Data.Singletons.Decide | |
import Data.Singletons.TH | |
import Data.Kind | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select RV.name, MV.title, RT.stars, RT.ratingDate | |
from (select * from Reviewer) as RV join | |
(select * from Movie) as MV join | |
(select * from Rating) as RT on | |
(RV.rId = RT.rId and RT.mId = MV.mId) | |
order by RV.name asc, MV.title asc, RT.stars asc |
NewerOlder