[racket-users] Re: Scribble markdown renderer: tables

2020-12-29 Thread Alex Harsanyi
I am not entirely sure what it is that is not working, so I am just guessing here: * If you are generating Markdown files that contain tables, you need to be aware that tables need to be in column 0 (i.e. NOT indented). If they are indented, they will be rendered as pre-formatted text. * If y

[racket-users] Split-pane editing

2020-12-29 Thread Hendrik Boom
When editing code in emacs, I oftern split the pane so I have views on two parts of a file. Typically, this is so I can see a function definition in one pane at the same time as I see a corresponding function application in another pane. Sometimes, this escalates to three panes. Is there any

Re: [racket-users] resumable exceptions (or: How can I break myself?)

2020-12-29 Thread je...@lisp.sh
Using parameters is a helpful suggestion. In my case, it's enough to just record the error and add a substitution character (explicitly marked as induced, that is, wasn't actually present in the input) without needing to rewind or advance the input port. It's sufficient for my purposes to just

[racket-users] Re: Permutations ind Racket

2020-12-29 Thread br...@lojic.com
Kira: You mentioned things (map, foldr, ...) that you're not permitted to use, but I don't know the full homework requirements. If your professor did not preclude the built-in permutations function, you could use that as a way of teaching your professor to communicate the requirements more clea

[racket-users] Re: Executing (system ...) command requires another 'ENTER' from repl?

2020-12-29 Thread br...@lojic.com
The documentation for (system) states: "The resulting process writes to (current-output-port), reads from (current-input-port), and logs errors to (current-error-port)." So, I'm guessing that it may be waiting for input. The following does not require an extra enter key: (parameterize ([curren

[racket-users] Re: Dynamic-place PR

2020-12-29 Thread br...@lojic.com
Maybe ask on https://groups.google.com/g/racket-dev ? On Wednesday, December 9, 2020 at 10:41:51 AM UTC-5 na...@manicmind.earth wrote: > Hello. > > Is the PR #3518 “Create `racket/place/dynamic` to reduce dependencies.” > going to happen? > > I was trying to use ‘#%place and its `dynamic-place`

[racket-users] Re: I‘m new to racket, i want to know the best resources of learning racket

2020-12-29 Thread br...@lojic.com
If you like learning by example, I have a github repo w/ many examples: https://github.com/lojic/LearningRacket On Thursday, December 3, 2020 at 5:19:43 AM UTC-5 cy691...@gmail.com wrote: > Any suggestions? Thanx for you guys -- You received this message because you are subscribed to the Googl

[racket-users] Scribble markdown renderer: tables

2020-12-29 Thread Dominik Pantůček
Hello Racketeers, back from my procrastination projects to work :) In the biggest project our company is working on right now, we use Racket HTTP/REST backend and React.js frontend. The whole backend is fully contracted - even all the actual servlets that are exposed via HTTP are contracted. And

Re: [racket-users] resumable exceptions (or: How can I break myself?)

2020-12-29 Thread Ryan Culpepper
I would suggest avoiding exceptions and continuations and have a separate parameter[*] that holds the current unexpected character handler. You'll still have to figure out what kind of thing it returns (void, or a replacement character, or a new input port?), but you have to do that anyway. The ha

[racket-users] resumable exceptions (or: How can I break myself?)

2020-12-29 Thread je...@lisp.sh
I'm working on a tokenizer for that involves some level of "self-healing": if the input port contains an unexpected character, an error token is to be emitted, but computation isn't over -- we are to continue by substituting the bad character with a good one, emitting that, too (thereby recoveri