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