[ http://dev.sourcefabric.org/browse/LS-595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Samuel Mimram updated LS-595: ----------------------------- Summary: Add exceptions to the language (was: Too constrained types for list operations) Issue Type: New Feature (was: Bug) Priority: Minor (was: Critical) > Add exceptions to the language > ------------------------------ > > Key: LS-595 > URL: http://dev.sourcefabric.org/browse/LS-595 > Project: Liquidsoap > Issue Type: New Feature > Reporter: Samuel Mimram > > Some of the generic functions operating on lists are restricted to lists of > strings. For instance: > _[_] : (string,[(string*string)])->string > list.assoc : (string,[(string*string)])->string > list.hd : ([string])->string > etc. > For the two first, this might just be that association lists should be > generalized to be able to contain any elements indexed by strings. But > list.hd is clearly a bug. > Notice that this is not the case for all functions operating on lists for > instance: > list.length : (['a])->int > list.tl : (['a])->['a] -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://dev.sourcefabric.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl