Skip to content

Fix minor typos #40

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

Merged
merged 2 commits into from
Jun 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/main/scala/shapeless/HListExercises.scala
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ object HListExercises extends FlatSpec with Matchers with org.scalaexercises.def
apap.toList should be(res0)

/** And it has a `Typeable` type class instance (see below), allowing, eg. vanilla `List[Any]`'s or `HList`'s with
* elements of type `Any` to be safely cast to precisely typed `HList`'s.
* These last three features make this `HList` dramatically more practically useful than `HList`'s are typically thought to be:
* normally the full type information required to work with them is too fragile to cross subtyping or I/O boundaries.
* This implementation supports the discarding of precise information where necessary.
* (eg. to serialize a precisely typed record after construction), and its later reconstruction.
* (eg. a weakly typed deserialized record with a known schema can have it's precise typing reestabilished).
*/
* elements of type `Any` to be safely cast to precisely typed `HList`'s.
* These last three features make this `HList` dramatically more practically useful than `HList`'s are typically thought to be:
* normally the full type information required to work with them is too fragile to cross subtyping or I/O boundaries.
* This implementation supports the discarding of precise information where necessary.
* (eg. to serialize a precisely typed record after construction), and its later reconstruction.
* (eg. a weakly typed deserialized record with a known schema can have its precise typing reestablished).
*/
def exerciseTypeable(res0: Option[APAP]) = {
import syntax.typeable._

Expand Down