Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicola Botta
IdrisLibs2
Commits
cd5b4820
Commit
cd5b4820
authored
Nov 20, 2020
by
Nicola Botta
Browse files
Cleanup
parent
9b914900
Changes
3
Hide whitespace changes
Inline
Side-by-side
Sigma/Operations.idr
deleted
100644 → 0
View file @
9b914900
module
Sigma.Operations
import
Sigma.Sigma
public
export
outl :
{
A
:
Type
}
->
{
P
:
A
->
Type
}
->
Sigma
A
P
->
A
outl
(
MkSigma
a
_
)
=
a
public
export
outr :
{
A
:
Type
}
->
{
P
:
A
->
Type
}
->
(
s
:
Sigma
A
P
)
->
P
(
outl
s
)
outr
(
MkSigma
_
p
)
=
p
Sigma/Sigma.idr
deleted
100644 → 0
View file @
9b914900
module
Sigma.Sigma
{-
public export
data Sigma : (A : Type) -> (P : A -> Type) -> Type where
MkSigma : {A : Type} -> {P : A -> Type} -> (x : A) -> (pf : P x) -> Sigma A P
---}
namespace
Sigma
public
export
record
Sigma
a
(
p
:
a
->
Type
)
where
constructor
MkSigma
fst
:
a
snd
:
p
fst
Sigma/Sigma.lidr
0 → 100644
View file @
cd5b4820
> module Sigma.Sigma
> namespace Sigma
> public export
> record Sigma (A : Type) (P : A -> Type) where
> constructor MkSigma
> outl : A
> outr : P outl
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment