From 228a3df700910b84d402248785d01b93edef45a6 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Mon, 7 Mar 2016 17:38:01 -0800 Subject: [PATCH] lib/twitter compiles --- lib/twitter.hoon | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/twitter.hoon b/lib/twitter.hoon index 538fd3a579..aca1bd85f3 100644 --- a/lib/twitter.hoon +++ b/lib/twitter.hoon @@ -70,12 +70,12 @@ ++ twip :: response printers |% ++ mean - |= [msg=@t num=@ud] ^- tank - rose/[": " `~]^~[leaf/"Error {}" leaf/(trip msg)] + |= {msg/@t num/@ud} ^- tank + rose+[": " `~]^~[leaf+"Error {}" leaf+(trip msg)] -- ++ twir :: response parsers |% - ++ fasp |*({a/@tas b/*} [(gsub '-' '_' a) b]) + ++ fasp |*(a/{@tas *} [(gsub '-' '_' -.a) +.a]) :: XX usable electroplating ++ user (cook crip (plus ;~(pose aln cab))) ++ mean (ot errors+(ar (ot message+so code+ni ~)) ~):jo ++ stat @@ -87,7 +87,7 @@ (fasp created-at+da) text+so == - ++ usel + ++ usel =+ jo ^- $-(json (unit (list who/@ta))) =- (ot users+(ar -) ~) @@ -162,7 +162,7 @@ ban/(list {p/@t q/?(@ (list @))}) quy/quay == - ^- [path quay] + ^- {tape:path quay} ?~ ban [(fass pax) quy] ?: =('!inline' p.i.ban) @@ -173,7 +173,7 @@ %+ welp quy %+ turn `(list {p/@t q/?(@ (list @))})`ban |= {p/@t q/?(@ (list @))} - ^- [@t @t] + ^- {@t @t} :- (gsub '-' '_' p) ?@ q ?- p