Skip to content
New issue

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

convenience constructors for Tables.Schema #314

Open
jrevels opened this issue Oct 26, 2022 · 1 comment
Open

convenience constructors for Tables.Schema #314

jrevels opened this issue Oct 26, 2022 · 1 comment

Comments

@jrevels
Copy link
Collaborator

jrevels commented Oct 26, 2022

ref beacon-biosignals/Legolas.jl#54 (comment)

copy/pasting @ericphanson 's comment:

Random thought: if we are going to be using Tables.Schema a lot more (not sure if we are yet), it could be nice to upstream an Tables.@Schema(a::Int, b::Float64, c::String) that expands to Tables.Schema((:a, :b, :c), (Int, Float64, String)), maybe also a begin/end form like

Tables.@Schema begin
    a::Int
    b::Float64
    c::String
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants