This file contains 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
(declare (usual-integrations)) | |
(load "syn-dd.scm") | |
(load "table.scm") | |
(define (install-eval-function) | |
(define eval-table (make-table)) | |
(define (operator exp) | |
(car exp)) | |
(define (eval-if exp env) |
This file contains 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
(declare (usual-integrations)) | |
(define zero (lambda (f) (lambda (x) x))) | |
(define one (lambda (f) (lambda (x) (f (f x))))) | |
(define add (lambda (m) | |
(lambda (n) | |
(lambda (f) | |
(lambda (x) |
This file contains 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
const url = 'http://localhost:5050/vehicles/' + search_params.get("id"); | |
fetch(url) | |
.then(response=>{ | |
if (response.ok){ | |
return response.json(); | |
} | |
}) | |
.then(jresp=> { | |
get_vehicle_images(jresp); | |
populate_vehicle_details(jresp); |
This file contains 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
package main | |
import ( | |
"encoding/json" | |
"net/http" | |
"strings" | |
) | |
type weatherData struct { | |
Name string `json:"name"` |