This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"version":3,"file":"static/js/main.3db36d0d.js","mappings":";4EAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,MACjB,MAAOC,GAEP,YADAP,EAAOO,GAILF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,GAIxB,SAAS,EAAkBS,GACxC,OAAO,WACL,IAAIC,EAAOC,KACPC,EAAOC,UACX,OAAO,IAAIN,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMa,EAAGK,MAAMJ,EAAME,GAEzB,SAASb,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,GAGlE,SAASJ,EAAOe,GACdpB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASe,GAGnEhB,OAAMiB,8BC/BG,SAASC,EAAkBC,EAAKC,IAClC,MAAPA,GAAeA,EAAMD,EAAIE,UAAQD,EAAMD,EAAIE,QAE/C,IAAK,IAAIC,EAAI,EAAGC,EAAO,IAAIC,MAAMJ,GAAME,EAAIF,EAAKE,IAC9CC,EAAKD,GAAKH,EAAIG,GAGhB,OAAOC,ECNM,SAASE,EAA4BC,EAAGC,GACrD,GAAKD,EAAL,CACA,GAAiB,kBAANA,EAAgB,OAAO,EAAiBA,EAAGC,GACtD,IAAIC,EAAIC,OAAOC,UAAUC,SAASC,KAAKN,GAAGO,MAAM,GAAI,GAEpD,MADU,WAANL,GAAkBF,EAAEQ,cAAaN,EAAIF,EAAEQ,YAAYC,MAC7C,QAANP,GAAqB,QAANA,EAAoBJ,MAAMY,KAAKV,GACxC,cAANE,GAAqB,2CAA2CS,KAAKT,GAAW,EAAiBF,EAAGC,QAAxG,GCHa,SAAS,EAAeR,EAAKG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (re-frame/reg-event-db | |
| :request-success-repositories | |
| (fn [db [_ response]] | |
| (.log js/console (:items response)) ;;; <-- I want to get it but is returning 'null'. | |
| (assoc db :repositories-search-list response))) | |
| (re-frame/reg-event-db | |
| :request-search | |
| (fn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var tmp = 10; | |
| var b = 20; | |
| swap {tmp <=> b} | |
| /* --> hygienic expansion | |
| var tmp$1 = 10; | |
| var b$2 = 20; | |
| var tmp$3 = tmp$1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // define the cond_clause pattern class | |
| macroclass cond_clause { | |
| pattern { | |
| rule { $check:expr => $body:expr } | |
| } | |
| } | |
| macro cond { | |
| rule { $first:cond_clause $rest:cond_clause ... } => { | |
| // sub-pattern variables in the custom class are |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Animal { } | |
| public class Dog extends Animal {} | |
| public class Cat extends Animal {} | |
| List<Animal> animals = new List<Animal>(); | |
| Dog scoobie = new Dog(); | |
| Dog snoopie = new Dog(); | |
| List<Dog> dogs = new List<Dog>(snoopie, scoobie); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let function = macro { | |
| rule { // proper tail call | |
| $n ( $x (,) ... ) { | |
| if ($b ... ) return $l:expr ; | |
| return $n ( $y:expr (,) ...) ; | |
| } | |
| } => { | |
| function $n ( $( $x ,) ... $xl) { | |
| var tmp = {}; | |
| while (!($b ...)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let function = macro { | |
| case { | |
| $fun $name ( $args ...) { $body ... } | |
| } => { | |
| return #{ | |
| function $name ( $args ...) { | |
| console.log($name.name) | |
| $body ... | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* fn anonima esperando o nome da classe, e retorna uma fn esperando o elemento ser passado, | |
| e então, retorna o elemento com a classe adicionada. */ | |
| var addClass = λ classname -> λ el => { | |
| el.className += ' ' + classname; | |
| return el; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| this.marginTopElement = document.createElement('div') | |
| |> appendIn(animateContentEl) | |
| |> addClass('placeload-masker') | |
| |> size('100%', dataDefault.marginTop) | |
| |> position({top: this.fullHeight, left: 0}); | |
| /* | |
| this.marginTopElement = position({ | |
| top: this.fullHeight + 'px', | |
| left: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| operator (|>) 1 left { $left, $right } => #{ | |
| $right($left) | |
| } | |
| function add(x,y) { return x + y; } | |
| function double(x) { return x * 2; } | |
| console.log((add(2,3) |> double )) | |
| /* | |
| function add(x$, y) { |
NewerOlder