Groups
Sign in
Groups
macropy
Conversations
About
Send feedback
Help
Accessing Case Class - Subclasses
18 views
Skip to first unread message
jkl...@gmail.com
unread,
Oct 28, 2013, 7:33:09 PM
10/28/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mac...@googlegroups.com
Is there a way to access a case class' subclass directly, without the using the parent name?
For instance, using the Cons List in your example, is there a way to make it so I can just type n = Nil() instead of n = List.Nil()?
Thanks!
Reply all
Reply to author
Forward
0 new messages