hoshom
2019-2-4 13:06:47

How do I make the types of my struct fields related to each other?


hoshom
2019-2-4 13:06:56

I want to say something like this: (struct TwoLists (All (a) [one : (Listof a)] [two : (Listof a)]))


hoshom
2019-2-4 13:07:05

but that’s not valid typed racket code


hoshom
2019-2-4 13:11:16

Never mind, found it, it’s maybe-type-vars


tahir
2019-2-4 21:08:28

@tahir has joined the channel