Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for maukeā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #291258 |
I would assume those sites simply `console.log` whatever and if you don't have developer tools open, you never see it. Do you have an example of such a site? (more) |
— | 8 months ago |
Comment | Post #291265 |
As a general rule, all Windows filenames are also valid on Linux, so the "for Linux" part of the question is redundant.
The rules for Windows you've proposed are neither necessary nor sufficient. For example, spaces and apostrophes are perfectly valid in Windows filenames, but `Aux.txt` or `nul.ta... (more) |
— | 8 months ago |
Edit | Post #289000 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to use function composition for applying a function to first elements of a list? Recall that `.` (composition) is defined as: f . g = \x -> f (g x) That is, it composes two functions of one argument each. The result (another function of one argument) passes its argument `x` to `g`, and the result of that to `f`. Your first attempt was: map (subtract 1) . take ... (more) |
— | over 1 year ago |
Comment | Post #288916 |
Why do there have to be disadvantages? And why do you think `static` functions aren't widely used? (more) |
— | over 1 year ago |
Comment | Post #288043 |
Here is how I understand the issue. Consider an architecture with special "address" registers. Whenever you load a value into an address register, the hardware verifies that it is valid (i.e. the target memory is mapped and accessible). On such a platform, `q = p` could be compiled to *load p's value... (more) |
— | over 1 year ago |