Skip to content

Commit

Permalink
export fixity declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
andrevidela authored and gallais committed Jul 26, 2024
1 parent e496277 commit a35498d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Collie.idr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public export
Handlers a cmd
(::) = MkHandlers

infixr 4 ~~>
export infixr 4 ~~>

||| A nicer notation for handlers
public export
Expand Down
2 changes: 1 addition & 1 deletion src/Collie/Modifiers.idr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Data.Maybe

%default total

infix 4 ::=
export infix 4 ::=
public export
(::=) : {0 a : String -> Type} -> (nm : String) -> a nm -> (nm : String ** a nm)
(::=) = MkDPair
Expand Down
2 changes: 1 addition & 1 deletion src/Data/List/Fresh.idr
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public export
BRel : Type -> Type
BRel a = a -> a -> Bool

infix 4 #, ##, #?
export infix 4 #, ##, #?

public export
data FreshList : (a : Type) -> (neq : BRel a) -> Type
Expand Down
2 changes: 1 addition & 1 deletion src/Data/List/Fresh/Quantifiers.idr
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ removeFreshness (There pos) fresh =
let (neq, fresh) = soAnd fresh in
andSo (neq, removeFreshness pos fresh)

infixr 4 !!
export infixr 4 !!

public export
(!!) : (prfs : All p xs) -> (pos : Any q xs) -> p (lookup pos)
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Magma.idr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Data.Maybe

%default total

infixr 6 .*.
export infixr 6 .*.

public export
record RawMagma where
Expand Down
3 changes: 1 addition & 2 deletions src/Data/Record/SmartConstructors.idr
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import Data.Record

%default total

export infix 1 ::=
namespace Check

public export
Expand All @@ -19,7 +20,6 @@ namespace Check
constructor MkCheckable
mkCheckable : Record f flds

infix 1 ::=
public export
record Entry
(a : String -> Type)
Expand Down Expand Up @@ -55,7 +55,6 @@ namespace Infer
constructor MkInferrable
mkInferrable : Record f flds

infix 1 ::=
public export
record Entry (a : String -> Type) (f : Field a -> Type) where
constructor (::=)
Expand Down

0 comments on commit a35498d

Please sign in to comment.