Advanced Types in Elm - Opaque Types
Charlie Koster

OK, got it now. to answer to my own question, type alias is transparent, anyone who import the module will have the access to its inner working.

Implementing the same API as in opaque Type won’t prevent the user to manipulate the data inside.

Like what you read? Give Tony Gu a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.