RSSAmplifier

Andraž Bajt's blog · Jan 27, 2013

Union types in scala

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

I’ve done some research a while ago on union types and found a nice implementation by Miles Sabin but it only works for declaring types of function parameters. And you can also do this with with type classes . What do I mean with “only function parameters”? In “everything is a function” kind of view there are three places to put types function parameters value(val or…

Read on /posts/2013-01-27-union-types/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.