lampepfl / dotty-feature-requests

Historical feature requests. Please create new feature requests at https://github.com/lampepfl/dotty/discussions/new?category=feature-requests
31 stars 2 forks source link

Scastie code snippet for dotty.epfl.ch #43

Open allanrenucci opened 7 years ago

allanrenucci commented 7 years ago

Similarly to scala-lang, we would like to add a Scastie embedding on the front page of dotty.epfl.ch. Please share what you think should be the content of this snippet.

Here are some guidelines:

smarter commented 7 years ago

Here's the one I created for the initial Dotty announcement: https://scastie.scala-lang.org/R5kUfVbTRpmS4l4CrO1HlA though it's longer than what you want.

esarbe commented 7 years ago

Since you mention Enum; here's the implementation of Option using Enum:

https://scastie.scala-lang.org/ZLLh7SuPQkq7VAgGQpawaA

janrockdev commented 6 years ago

This ticket should be closed. Already solved.

Blaisorblade commented 6 years ago

Thanks @janrock-ylb — we have a link and a code snippet, but not an embedding it seems? @allanrenucci I guess close anyway?

allanrenucci commented 6 years ago

I'd say blocked on scalacenter/scastie#281 for now. Also if I remember correctly, at the time we discussed this we didn't really settle on a common code snippet