ЗП
https://github.com/i-am-tom/haskell-exercises/
Size: a a a
ЗП
ЗП
AA
[
[
AA
AA
[
[
AA
[

L
Fresh, то как write может его прикладывать к списку без Fresh в возвращаемом значении?L
data Fresh
data HasLoad
type Contextual :: (Type -> [Type] -> Type) -> Constraint
class Contextual container where
init :: container () '[Fresh]
type Canonnical :: (Type -> [Type] -> Type) -> Constraint
class Contextual t => Canonnical t where
write :: Contains Fresh b ~ True
=> v -> t l b -> t v (HasLoad : Remove Fresh b)S
data Fresh
data HasLoad
type Contextual :: (Type -> [Type] -> Type) -> Constraint
class Contextual container where
init :: container () '[Fresh]
type Canonnical :: (Type -> [Type] -> Type) -> Constraint
class Contextual t => Canonnical t where
write :: Contains Fresh b ~ True
=> v -> t l b -> t v (HasLoad : Remove Fresh b)a
L
L