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