mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +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
|