Fix type failures in lib/twitter.hoon

The type failures were introduced by the parent merge.
This commit is contained in:
Raymond Pasco 2016-04-14 16:18:24 -04:00
parent d3711b53d9
commit dc58574c0f
2 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,6 @@
::
:::: ~fyr
::
=< into-url
|%
++ parse-url
|= a/$@(cord:purl purl) ^- purl

View File

@ -51,11 +51,16 @@
::
++ user-url
|= a/scr ^- purf
(url:interpolate "https://twitter.com/:scr" scr+a ~)
:_ ~
%^ into-url:interpolate 'https://twitter.com/:scr'
~
~[scr+a]
::
++ post-url
|= {a/scr b/tid} ^- purf
%+ url:interpolate "https://twitter.com/:scr/status/:tid"
:_ ~
%^ into-url:interpolate 'https://twitter.com/:scr/status/:tid'
~
~[scr+a tid+(tid:print b)]
--
++ parse :: json reparsers