Skip to content

Commit

Permalink
make graphical Stairs example URL loadable from history View
Browse files Browse the repository at this point in the history
  • Loading branch information
Dierk Koenig committed Jun 1, 2015
1 parent 2b0f1d8 commit cd39949
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/main/frege/org/frege/Application.fr
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ showUI mConsole stage = do
items.add ":type mapM"
items.add "mapM println [1..100]"
items.add "fib = 1n : 1n : zipWith (+) fib (tail fib)"
items.add ":l https://raw.githubusercontent.com/Dierk/frepl-gui/master/Stairs.fr"
items.add "import Stairs"
items.add "paint (\\ctx -> sequence_ $ take 500 $ doodle ctx)"

sm <- historyLV.getSelectionModel
sip <- sm.selectedItemProperty
Expand Down

0 comments on commit cd39949

Please sign in to comment.