Skip to content

Instantly share code, notes, and snippets.

(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)
(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)
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);
package main
import (
"encoding/json"
"net/http"
"strings"
)
type weatherData struct {
Name string `json:"name"`