akira
2016-03-29 21:27:34 UTC
I'm working through the tutorials, but this example doesn't run as it
should:
:: test.hoon
:- %say |= [* [[arg=@ud ~] ~]] :- %noun
=> arg=arg
[%hello arg]
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
1].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
11].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
36].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
1].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
5].[2 12]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
9].[2 12]>
-find.arg
ford: core
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/~2016.3.29..20.23.44..2a90/gen/test
I'm not familiar with the stack trace yet, but maybe test.hoon needs to
specify "arg" for Nock?
The error seems to tell us Nock is looking for some external arg, where
really we just want it to pass in our atom.
Thanks for reading.
should:
:: test.hoon
:- %say |= [* [[arg=@ud ~] ~]] :- %noun
=> arg=arg
[%hello arg]
+test 42
/~zod/home/~2016.3.14..23.49.48..6bf4/arvo/ford:<[1.179 24].[1.179 52]>/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
1].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
11].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[1
36].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
1].[3 13]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
5].[2 12]>
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/0/gen/test:<[2
9].[2 12]>
-find.arg
ford: core
/~firsyd-patmel-darrex-ladmeg--miltun-hartyr-pilsem-dotrys/sandbox/~2016.3.29..20.23.44..2a90/gen/test
I'm not familiar with the stack trace yet, but maybe test.hoon needs to
specify "arg" for Nock?
The error seems to tell us Nock is looking for some external arg, where
really we just want it to pass in our atom.
Thanks for reading.
--
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "urbit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to urbit-dev+***@googlegroups.com.
To post to this group, send email to urbit-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.