Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/tests/nofib/real/anna/mutualRec.cor

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.



la a ::= Na | Ca a (lb a) ;

lb b ::= Nb | Cb b (la b) ; ;;





fa x = case x of
         Na -> 0;
         Ca y ys -> (fb ys) + y
       end;

fb x = case x of
         Nb -> 0;
         Cb y ys -> (fa ys) - y
       end;


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.