cons

How can I force a file to be created using Cons, if nobody depends on it?

The project I'm using uses Cons instead of Make for one section, for reasons beyond my control (i.e. we inherited and there was never enough ROI to switch to Make). I just added a new rule to create a file that I need in an unrelated part of the project. By "unrelated" I mean that it's outside the scope of my Cons script. The project ...

Can cons find executables in my path?

I'm trying to debug a cons script, and the problem I'm having is that an executable in my own $PATH doesn't seem to be located. In short: Can cons find executables in my path? This might seem like a silly question, since the FAQ says Cons does not pass the user's environment to the child processes that it forks to build the software...

Negatives of Visual WebGUI

Can someone with experience implementing Visual WebGUI please share any cons of the technology. It offers a very intriguing model for implementing rich data-driven applications. I'm curious to hear any feedback that highlights limits or areas where it doesn't provide you with key capabilities. This product seems to have gone under the...

Understanding pattern matching with cons operator

In "Programming F#" I came across a pattern-matching like this one (I simplified a bit): let rec len list = match list with | [] -> 0 | [_] -> 1 | head :: tail -> 1 + len tail;; Practically, I understand that the last match recognizes the head and tail of the list. Conceptually, I don't get why it works. As far as I understan...

What does [a|b|c] evaluate to in SWI-Prolog?

The pipe operator in prolog returns one or more atomic Heads and a Tail list. ?- [a,b,c] = [a,b|[c]]. true. Nesting multiple pipes in a single match can be done similar to this: ?- [a,b,c] = [a|[b|[c]]]. true. What does the statement [a|b|c] infer about a, b and c? EDIT So far, all I can deduce is: ?- [a,b,c] = [a|b|c]. false....

Understanding infix method call and cons operator(::) in Scala

Hello, I'm quite new to Scala programming language, and was trying something out stucked in my mind while I was following the lecture notes at here. I think I couldn't really understand how cons operator works, here are some things I tried: I've created a pseudo-random number generator, then tried to create a list of one random value...

common lisp cons creates a list from two symbols, clojure cons requires a seq to cons onto?

(Disclaimer - I'm aware of the significance of Seqs in Clojure) In common lisp the cons function can be used to combine two symbols into a list: (def s 'x) (def l 'y) (cons s l) In clojure - you can only cons onto a sequence - cons hasn't been extended to work with two symbols. So you have to write: (def s 'x) (def l 'y) (cons s '(l...

RFP: why/why not outsouce early project development?

A small web development group (less than 15 people) I do some work for is looking at outsourcing some work. Through a series of random events they will soon be without a front end developer and a graphic designer. Rather than hire these positions back on, there is talk of outsourcing the work to a group in a nearby state that manages d...

Unexpected output with cons()

I am from an imperative background but these days trying my hands on LISP (Common LISP) I read here about cons that (cons x L): Given a LISP object x and a list L, evaluating (cons x L) creates a list containing x followed by the elements in L. When I intentionally did not use a list as the second argument i.e when I used (co...