Giter Club home page Giter Club logo

Comments (5)

johnmyleswhite avatar johnmyleswhite commented on June 5, 2024

As of d732800, I've implemented the @data and @pdata macros.

@HarlanH, @tshort: If you're ok with this change, I'll remove the DataVector[1, NA, 3] constructor in the next commit. I think the new macros are much superior: they use fewer characters and offer more functionality.

from dataarrays.jl.

HarlanH avatar HarlanH commented on June 5, 2024

Sounds good.

On Wed, Nov 13, 2013 at 11:21 PM, John Myles White <[email protected]

wrote:

As of d732800d732800,
I've implemented the @DaTa and @pdata macros.

@HarlanH https://github.com/HarlanH, @tshort https://github.com/tshort:
If you're ok with this change, I'll remove the DataVector[1, NA, 3]constructor in the next commit. I think the new macros are much superior:
they use fewer characters and offer more functionality.


Reply to this email directly or view it on GitHubhttps://github.com//issues/12#issuecomment-28458478
.

from dataarrays.jl.

tshort avatar tshort commented on June 5, 2024

+1. I like this approach.

The tests could use some cases where the types are mixed, like @data ["x", 1, 1.23, NA].

from dataarrays.jl.

johnmyleswhite avatar johnmyleswhite commented on June 5, 2024

Added two of those in fe0c0cc

Still need a lot more tests, which is why I started #15. As macros, this approach faces a lot of complications -- accessing variables in literals being the worst offender.

from dataarrays.jl.

johnmyleswhite avatar johnmyleswhite commented on June 5, 2024

Closed by af39464

from dataarrays.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.