Giter Club home page Giter Club logo

ob-racket's People

Contributors

deadb17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ob-racket's Issues

Image support?

In the racket-mode REPL I'm able to see the images produced by my code. The following is my output when evaluating the same code in an org-mode buffer. Is this a limitation of org-mode itself?

#+begin_src racket :lang htdp/bsl
(require 2htdp/image)

(rectangle 10 20 "solid" "red")
(rectangle 20 10 "solid" "blue")
(define I1 (rectangle 10 20 "solid" "red"))
(define I2 (rectangle 20 10 "solid" "blue"))
(if (< (image-width I1)
       (image-width I2))
       "tall"
       "wide")
#+end_src

#+RESULTS:
: #<image>
: #<image>
: "tall"

How to use require and load

I've got your basic install and have tested everything. But now I'd like to use this . I basically have no idea how to install/load the two files

(require "mk.rkt")

and

(load "test-all.scm")

to run the tests. I can start a racket REPL and just put these in as is and they work, but how to get that last (load "test-all.scm") to run in a source block?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.