Skip to content

Add an example about phantom types #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
japaric opened this issue Jun 30, 2014 · 2 comments
Closed

Add an example about phantom types #144

japaric opened this issue Jun 30, 2014 · 2 comments

Comments

@japaric
Copy link
Member

japaric commented Jun 30, 2014

I really liked the example about unit checking that showed up in reddit the other day.

This was also part of the cheatsheet that recently got removed in favor of rustbyexample.


@mdinger is working on this. See #145

@japaric japaric added the C-new label Jun 30, 2014
@japaric japaric changed the title Add an example about shadow types Add an example about phantom types Jul 1, 2014
@japaric japaric mentioned this issue Jul 1, 2014
52 tasks
@mdinger
Copy link
Contributor

mdinger commented Jul 1, 2014

How did I miss this? I thought I searched for this issue and didn't see one...

@japaric
Copy link
Member Author

japaric commented Jul 1, 2014

How did I miss this? I thought I searched for this issue and didn't see one...

Because I messed up and typed "shadow types" instead of "phantom types" when I created this issue. :P

I fixed the title after you opened #145. I think we'd better use #145 to track this. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants