[ 
http://dev.sourcefabric.org/browse/LS-592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20303#action_20303
 ] 

Samuel Mimram commented on LS-592:
----------------------------------

Apparently my hack for record definition really has to be fixed:

list = [ list with f = fun(~x=list.hd) -> ()]

works without any problem but

def list.f(~x=list.hd) = () end

results in

Fatal error: exception Not_found
Raised at file "list.ml", line 144, characters 16-25
Called from file "lang/lang_values.ml", line 1055, characters 24-42
Called from file "lang/lang_values.ml", line 1091, characters 22-35
Called from file "tools/utils.ml", line 25, characters 51-56
Called from file "lang/lang_values.ml", line 1168, characters 44-67
Called from file "list.ml", line 57, characters 20-23
Called from file "lang/lang_values.ml", line 1167, characters 12-105
Called from file "lang/lang_values.ml", line 1123, characters 27-43
Called from file "lang/lang_values.ml", line 1250, characters 14-20
Called from file "lang/lang_values.ml", line 1315, characters 18-31
Called from file "lang/lang.ml", line 671, characters 14-38
Called from file "tools/tutils.ml", line 85, characters 14-18
Re-raised at file "tools/tutils.ml", line 85, characters 54-55
Called from file "lang/lang.ml", line 697, characters 8-12
Re-raised at file "lang/lang.ml", line 802, characters 49-50
Called from file "lang/lang.ml", line 815, characters 8-242
Called from file "lang/lang.ml", line 825, characters 4-76
Called from file "main.ml", line 108, characters 34-40
Called from file "main.ml", line 557, characters 2-29

> Add support for extensible records
> ----------------------------------
>
>                 Key: LS-592
>                 URL: http://dev.sourcefabric.org/browse/LS-592
>             Project: Liquidsoap
>          Issue Type: New Feature
>            Reporter: Samuel Mimram
>            Priority: Major
>
> We should add objects in Liquidsoap in order to justify the "dot" notation, 
> and a first step in this direction would be to add (extensible) records.

-- 
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

        

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à