[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

racket question

From: rndd
Subject: racket question
Date: Thu, 14 Nov 2019 15:55:04 +0100 (CET)

Is there any way to define function in #rash and use it in #racket?

I can create file myfunc.rkt:

#lang racket
(define func
  (+ 1 1))

And require it in ... main.rkt:

#lang rash
(require "myfunc.rkt")
echo $func

Like in bash (not sure about syntax, wrote it using touchscreen). And, well, i 
had many bash scripts i would like convert to rash, and i want to find a way to 
define funcs in rash and then import them in racket

reply via email to

[Prev in Thread] Current Thread [Next in Thread]