
6 Feb
2016
6 Feb
'16
4:08 a.m.
In Java List<T> ensures all entries are of type T - so only one type allowed. List<Object> allows anything but you lose type safety. HList allows anything and retains the types. (but you do get a lot of <<< >>>>>> in declarations :) and really its pushing Java into something it isn’t. )
On 5 Feb 2016, at 22:13, Imants Cekusins
wrote: in Java, you'd use HList (never use Object).
this is new to me. How is it different from List? _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners