custom-data-type Questions

20

Solved

I need to write a query on SQL server to get the list of columns in a particular table, its associated data types (with length) and if they are not null. And I have managed to do this much. But n...
Jordan asked 10/3, 2010 at 16:19

1

Solved

I am going through "Haskell Programming from first principles" and found an exercise asking if the following [code slightly edited here] was valid: module Test where type Subject = Strin...

2

Solved

I am trying to use my own data type in haskell for prime numbers, but i am currently running into a few issues. newtype Prime = Prime Integer deriving (Eq, Ord, Typeable, Show) As soon as i am doi...

6

Solved

I have the following code: class Example{ public static void main(String args[]){ System.out.println('1'+'1'); } } Why does it output 98?
Theta asked 25/1, 2020 at 7:51

2

Why are there so many custom data types like socklen_t, ssize_t, size_t, uint16_t? I don't understand the real need for them. To me, they’re just a bunch of new variable names to be learned.
Prostate asked 24/9, 2018 at 10:12

1

Solved

I have done some research and haven't found any similar question. I have a VBA macro that imports a .CSV file containing telegrams sent by a device. In the end of this macro, I want to create a g...
Exceptive asked 24/7, 2018 at 12:2

2

Solved

I am adding few new DataType in the OWL using Protege. The DataType is like percentage and I want to specify it's range with the double value ranging from 0 to 100. Similarly a DataType named Qua...
Asturias asked 2/7, 2014 at 13:8

3

Solved

If I have JSON and I try to derive the FromJSON instances automatically with Generics, I run into problems with id existing in more than one place in the JSON. Is there a way for me to override j...
Bismuthic asked 29/2, 2016 at 14:45

2

Solved

I'm currently running a Rails migration where I am adding a datatype specific to Postgres, the tsvector. It holds search information in the form that Postgres expects for its built-in text searchin...
1

© 2022 - 2024 — McMap. All rights reserved.