<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/9fbf3af3346026a5d782ec2c1884b8e3"
  from="Nick Name &lt;nick.name@i...&gt;"
  author="Nick Name"
  date="2003-10-14T11:21:32"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?"
  prev="2003/10/4e4b1aa34c29e58e6db93315ea915984"
  next="2003/10/bb6652d3ee0174ff91bc648fa5125d46"
  prev-in-thread="2003/10/699b12f0ebe78da74ded3e4cba5c6059"
  next-in-thread="2003/10/5e8c9bc26aad51865afc7f8b62e1a423"
  prev-thread="2003/10/a8fa1894bbd369bf8ba65a0a1f44837a"
  next-thread="2003/10/b91f50d10d7d1db0ef09996f1a13d35c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/b524697dd6429ef4b3d37491d400e8ff"
  from="Nick Name &lt;nick.name@i...&gt;"
  author="Nick Name"
  date="2003-10-13T23:54:30"
  subject="[Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/db9e80867677fab23d16f3aa64fd3fad"
  from="Oleg Trott &lt;oleg_trott@c...&gt;"
  author="Oleg Trott"
  date="2003-10-14T01:33:30"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/699b12f0ebe78da74ded3e4cba5c6059"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-14T03:03:00"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/9fbf3af3346026a5d782ec2c1884b8e3"
  from="Nick Name &lt;nick.name@i...&gt;"
  author="Nick Name"
  date="2003-10-14T11:21:32"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/5e8c9bc26aad51865afc7f8b62e1a423"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-15T00:22:17"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/08d0b380cf61c19556ca308cbd7a58ed"
  from="Nick Name &lt;nick.name@i...&gt;"
  author="Nick Name"
  date="2003-10-15T01:48:55"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/145c69b15ab7cd8c7ef9cea28a2ee08d"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-10-15T02:20:10"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
<msg 
  url="2003/10/a1da1088efdb9e488b62d38e41e18696"
  from="skaller &lt;skaller@o...&gt;"
  author="skaller"
  date="2003-10-15T11:40:34"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
<msg 
  url="2003/10/0ffe577457a6e7656e19a496908ae8c2"
  from="skaller &lt;skaller@o...&gt;"
  author="skaller"
  date="2003-10-14T10:37:40"
  subject="Re: [Caml-list] Is arrow programming impossible in ocaml?">
</msg>
</msg>
</thread>

<contents>
Alle 05:02, marted́ 14 ottobre 2003, Jacques Garrigue ha scritto:
&gt; But as long as you represent arrows by normal functions (as this
&gt; seems to be the case in the paper), eta-expanding should solve the
&gt; problem.
&gt;

Unfortunately I can't; I am using arrows to hide a function-like 
structure wich is more complex than functions

&gt;   let a y = arr (fun x -&gt; x) y
&gt;
&gt; Not also that there is no problem if Arr is a constructor:

I can't do this in general, either, because I need the (&gt;&gt;&gt;) combinator, 
wich represents (reverse) function composition, so

type ('a,'b) t = Arr of ('a -&gt; 'b) | Seq of ((('a,'c) t) * (('c,'b) t))

where Seq is the composition, is not writeable because I would need to 
make 'c a parameter for t, and then ('a,'c) t would no longer be valid 
etc.

Do anyone see another solution?

Thanks &amp; bye

Vincenzo



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

