mCRL2 icon indicating copy to clipboard operation
mCRL2 copied to clipboard

Add support for function updates for functions with larger domains

Open jgroote opened this issue 13 years ago • 8 comments

Issue migrated from trac ticket # 891

component: Data Library | priority: minor

2011-12-11 15:17:49: @jkeiren created the issue


Add support for function updates for functions with larger domains.

A systematic implementation of this depends on bug #878

jgroote avatar Dec 11 '11 15:12 jgroote

2012-08-24 07:05:07:

jgroote avatar Aug 24 '12 07:08 jgroote

2012-08-24 07:05:07: commented


Milestone To be decided deleted

jgroote avatar Aug 24 '12 07:08 jgroote

2014-09-04 14:14:21: @wiegerw

jgroote avatar Sep 04 '14 14:09 jgroote

2014-09-04 14:14:21: @wiegerw commented


Implementation suggestion (previously #878):

Currently, data types can only be generated using single parameterised sort (e.g. List(S)). This should be generalised to support lists of sorts.

This functionality should than be used to generate code for function updates to functions with arbitrary numbers of parameters.

jgroote avatar Sep 04 '14 14:09 jgroote

2016-11-24 19:23:44: @wiegerw changed status from new to assigned

jgroote avatar Nov 24 '16 19:11 jgroote

2016-11-24 19:23:44: @wiegerw changed owner from jkeiren to jfg

jgroote avatar Nov 24 '16 19:11 jgroote

2016-12-04 21:30:22: anonymous

jgroote avatar Dec 04 '16 21:12 jgroote

An alternative I want to leave here for future reference: If we have

map g: Int -> (Int -> Int);

We can update the value of g(1)(2) with g[1 -> (g(1)[2 -> 3])].

tneele avatar Jul 03 '19 14:07 tneele