We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
legacy modules which are too important to change(need more think) or they should be deferred maybe we a new IO modules
Less important modules provide a wrapper for them with destructors
New modules easy to add
Unstable modules can we remove deinit**** procs and use destructors?
The text was updated successfully, but these errors were encountered:
also:
dynlib.LibHandle
seq[T]
setLen 0
a wrapper object eg:
type FileObj* = object handle: File proc openFile*(path: string): FileObj = FileObj(handle: open(path)) proc `=destroy`(a: var FileObj) = if a.handle != nil: close(a.handle)
extend the rules to allow destructors for types other than objects; maybe only allowing it for distinct types?
distinct
I haven't thought of implications of this though, this potentially cannot work
Sorry, something went wrong.
Latest experiment is here: nim-lang#18640
No branches or pull requests
legacy modules which are too important to change(need more think) or they should be deferred
maybe we a new IO modules
Less important modules
provide a wrapper for them with destructors
New modules
easy to add
Unstable modules
can we remove deinit**** procs and use destructors?
The text was updated successfully, but these errors were encountered: