forked from twitter/bijection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 41: Added support for Tagging and changed the Numeric <-> Strin…
…g Bijections to use String @@ Rep[Numeric] as proof.
- Loading branch information
Jed Wesley-Smith
committed
Jan 9, 2013
1 parent
1586795
commit 059f41d
Showing
3 changed files
with
50 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
bijection-core/src/main/scala/com/twitter/bijection/Rep.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.twitter.bijection | ||
|
||
/** | ||
* Type tag used when a type such as String may contain representations of another type, such as Int or URL. | ||
*/ | ||
trait Rep[A] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters