Skip to content

Instantly share code, notes, and snippets.

View y2k's full-sized avatar
🏠
Working from home

y2k

🏠
Working from home
View GitHub Profile
type User = { email: String; name: String; surname: String }
type Model =
{ user: User
editedUser: User
emailValid: Boolean
buttonEnabled: Boolean
buttonText: String }
type Source = Email | Name | Surname