mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
8 lines
160 B
Idris
8 lines
160 B
Idris
|
record WithShow (ty : Type) where
|
||
|
constructor MkWS
|
||
|
{auto hasShow : Show ty}
|
||
|
name : String
|
||
|
|
||
|
foo : WithShow ty -> WithShow ty
|
||
|
foo ws = { name := "meh" } ws
|