Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Proposal: Allow copying multiple files to the same destination via (::)copy([...], dest) #188

Open
maowtm opened this issue Mar 26, 2022 · 3 comments
Assignees
Labels

Comments

@maowtm
Copy link
Contributor

maowtm commented Mar 26, 2022

What do you think...
This does make (::)copy polymorphic though

@maowtm maowtm changed the title Proposal: Allow copying multiple files to the same destination via ::copy([...], dest) Proposal: Allow copying multiple files to the same destination via (::)copy([...], dest) Mar 26, 2022
@mechtaev
Copy link
Collaborator

Yes, it makes sense to do after we add polymorphism, because Dockefiles also support copying multiple files.

@maowtm
Copy link
Contributor Author

maowtm commented Mar 27, 2022

We can already do it since we don't have type checking yet, and basically when we add type checking we will need to be able to do polymorphism.

@maowtm maowtm self-assigned this Mar 27, 2022
@mechtaev
Copy link
Collaborator

Not sure of dynamic typing is suitable for Datalog. In Prolog, exceptions are thrown when an argument is of a wrong type. If we just implement logical failures, it might be hard to debug.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants