mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
minor
This commit is contained in:
parent
c11ad1998c
commit
5641cb3dd7
2 changed files with 33 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
*.agdai
|
*.agdai
|
||||||
*.pdf
|
*.pdf
|
||||||
*.log
|
*.log
|
||||||
src/Everything.agda
|
Everything.agda
|
||||||
public/
|
public/
|
||||||
.direnv
|
.direnv
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
32
src/Monad/Instance/K/PreElgot.lagda.md
Normal file
32
src/Monad/Instance/K/PreElgot.lagda.md
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<!--
|
||||||
|
```agda
|
||||||
|
open import Level
|
||||||
|
open import Category.Instance.AmbientCategory
|
||||||
|
import Monad.Instance.K as MIK
|
||||||
|
```
|
||||||
|
-->
|
||||||
|
|
||||||
|
```agda
|
||||||
|
module Monad.Instance.K.PreElgot {o ℓ e} (ambient : Ambient o ℓ e) (MK : MIK.MonadK ambient) where
|
||||||
|
open Ambient ambient
|
||||||
|
open MIK ambient
|
||||||
|
open MonadK MK
|
||||||
|
open import Monad.ElgotMonad ambient
|
||||||
|
open import Monad.Instance.K ambient
|
||||||
|
open import Monad.Instance.K.Compositionality ambient MK
|
||||||
|
|
||||||
|
open Equiv
|
||||||
|
open HomReasoning
|
||||||
|
open MR C
|
||||||
|
open M C
|
||||||
|
```
|
||||||
|
|
||||||
|
# K is a pre-Elgot monad
|
||||||
|
|
||||||
|
```agda
|
||||||
|
preElgot : IsPreElgot monadK
|
||||||
|
preElgot = record
|
||||||
|
{ elgotalgebras = λ {X} → elgot X
|
||||||
|
; assoc = {!!}
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in a new issue