chenglou changed the topic of #reasonml to: facebook.github.io/reason/. Public channel logs at irclog.whitequark.org/reasonml. Discord: discord.gg/reasonml
copy_ has joined #reasonml
copy_ has quit [Quit: Connection closed for inactivity]
xkapastel has quit [Quit: Connection closed for inactivity]
andreas__ has joined #reasonml
copy_ has joined #reasonml
ShalokShalom_ has joined #reasonml
ShalokShalom has quit [Ping timeout: 248 seconds]
ShalokShalom_ is now known as ShalokShalom
dakk has quit [Read error: Connection reset by peer]
dakk has joined #reasonml
dakk_ has joined #reasonml
dakk has quit [Remote host closed the connection]
jonrh has quit [Ping timeout: 255 seconds]
jonrh has joined #reasonml
andreas__ has quit [Quit: Connection closed for inactivity]
dakk_ has quit [Ping timeout: 240 seconds]
dywedir has joined #reasonml
copy_ has quit [Quit: Connection closed for inactivity]
dalbar has joined #reasonml
<dalbar>
Hi. I am new to reasonml/ocaml. I wonder if it is possible to extend types. An example would be the type person, which was used in the guide about records. It has the entries name and age. Let's say I want to define the new types student and professor. Both of them should have the same entries as the person type (name, age). Do I have to repeat these entries or is there a way to extend the person type?
dalbar has quit [Quit: Page closed]
dywedir has quit [Remote host closed the connection]