soegaard2
2019-9-9 15:28:41

Hi. I am attempting to write a small tutorial about web-development with Racket. I have run into a problem though. https://jsfiddle.net/5oejftvh/ For some reason I get unwanted line breaks in the resulting web-page. I have tried using span everywhere, but I am missing something. Any ideas?


soegaard2
2019-9-9 15:30:14

The idea is to make: 1 Racket News score: 44 one line. Wrapping each line a div will put a line break between each line. But currently I get line breaks after all elements.


soegaard2
2019-9-9 15:39:13

(click the Tidy button to get nice indentation)


soegaard2
2019-9-9 16:18:13

Simple answer: To use a form inline, one must add display: inline to the css for forms.


sydney.lambda
2019-9-10 00:54:08

Is it better - in this case - to store data that is indexed based on two indexes (opcode and mode) like this: '( ((ADC . IMM) . #x69) ((ADC . ZP) . #x65) ...) thus having the entire key as the two things the entries are indexed on, or like this: '( (ADC . (IMM . #x69) (ZP . #x65))) having one of the index values as the first key, which has as its value another table where the key is the other index value? I imagine the first is faster as it only requires one lookup, but is a single pair comparison faster than two symbol comparisons? Just to prevent any confusion, I’m just using pairs for notation purposes, not as the actual implementation. Thank you :)